package com.elong.businesstravel.protocol.hotel;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import org.apache.http.HttpEntity;
import org.apache.http.entity.StringEntity;
import org.json.JSONObject;

import android.content.Context;

import com.android.support.jhf.network.loopj.android.http.RequestParams;
import com.elong.businesstravel.base.mcrypt.MCrypt;
import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;

/**
 * 列表搜索
 * 
 * @author lenovo
 * 
 */
public class AllInOneSearchRequest extends BaseELongHttpRequest {

	public AllInOneSearchRequest(Context context, String cityId, String keyword, String product) {
		super(context);
		try {
			JSONObject jsonObject = new JSONObject();
			jsonObject.put("cityid", cityId);
			jsonObject.put("keyword", keyword);
			jsonObject.put("product",product);
			setRequestActionParam(ProtocolDef.ACTION_GetHotelSearch, jsonObject);
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
